package com.datastructure.test.longestuniquesubsequence;

public class LongestUniqueSubsequence {

    public static void main(String[] args) {

    }

    public int longestUniqueSubsequence (String s, String t) {
        // write code here
        if(s.equals(t)){
            return -1;
        } else {
            return Math.max(s.length(),t.length());
        }
    }
}
